package service;

public class Message {
        //[DF] XXX: What if somebody will try to choose "all" as name?
        private String reciever = "all";
        private String message;
        
        //[ek] TODO and what about many recievers? it's normal for chat.
        public Message (String reciever, String message){
                this.reciever = reciever;
                this.message = message;
        }
        
        public String getMessage(){
                return message;
        }
        
        public String getReciever(){
                return reciever;
        }
}
